﻿/// <summary>
/// AB对象
/// </summary>
public class ABInfo
{
    /// <summary>
    /// AB相对路径
    /// </summary>
    private string relativePath;

    /// <summary>
    /// AB文件大小
    /// </summary>
    private long size;

    /// <summary>
    /// AB文件MD5码
    /// </summary>
    private string md5;

    /// <summary>
    /// 文件名字
    /// </summary>
    private string fileName;

    /// <summary>
    /// 是否下载成功
    /// </summary>
    private bool isDownLoad;

    /// <summary>
    /// 是否保存成功
    /// </summary>
    private bool isSaved;

    /// <summary>
    /// IsDownLoad
    /// </summary>
    public bool IsDownLoad
    {
        get { return isDownLoad; }
        set { isDownLoad = value; }
    }
    
    /// <summary>
    /// IsSaved
    /// </summary>
    public bool IsSaved
    {
        get { return isSaved; }
        set { isSaved = value; }
    }

    /// <summary>
    /// RelativePath
    /// </summary>
    public string RelativePath
    {
        get { return relativePath; }
        set { relativePath = value; }
    }

    /// <summary>
    /// Size
    /// </summary>
    public long Size
    {
        get { return size; }
        set { size = value; }
    }

    /// <summary>
    /// Md5
    /// </summary>
    public string Md5
    {
        get { return md5; }
        set { md5 = value; }
    }

    /// <summary>
    /// FileName
    /// </summary>
    public string FileName
    {
        get { return fileName; }
        set { fileName = value; }
    }
}